Algorithms for Ham Sandwich Cuts
نویسنده
چکیده
Given disjoint sets PI, P2 ..... Pd in R a with n points in total, a ham-sandwich cut is a hyperplane that simultaneously bisects the Pi. We present algorithms for finding ham-sandwich cuts in every dimension d > 1. When d = 2, the algorithm is optimal, having complexity O(n). For dimension d > 2, the bound on the running time is proportional to the worst-case time needed for constructing a level in an arrangement of n hyperplanes in dimension d-1. This, in turn, is related to the number of k-sets in R d-~. With the current estimates, we get complexity close to O(n 3/2) for d = 3, roughly O(n s/3) for d = 4, and O(n d-1-atd~) for some a(d) > 0 (going to zero as d increases) for larger d. We also give a linear-time algorithm for ham-sandwich cuts in R 3 when the three sets are suitably separated.
منابع مشابه
Dynamic Ham-Sandwich Cuts for Two Overlapping Point Sets
We provide an efficient data structure for dynamically maintaining a ham-sandwich cut of two overlapping point sets in convex position in the plane. The ham-sandwich cut of S1 and S2 is a line that simultaneously bisects the area, perimeter or vertex count of both point sets. Our algorithm supports insertion and deletion of vertices in O(log n) time, and area, perimeter and vertex-count queries...
متن کاملDynamic Ham-Sandwich Cuts for Two Point Sets with Bounded Convex-Hull-Peeling Depth
We provide an efficient data structure for dynamically maintaining a ham-sandwich cut of two (possibly overlapping) point sets in the plane, with a bounded number of convex-hull peeling layers. The ham-sandwich cut of S1 and S2 is a line that simultaneously bisects the area, perimeter or vertex count of both point sets. Our algorithm supports insertion and deletion of vertices in O(c log n) tim...
متن کاملFast and Optimal Parallel Multidimensional Search in PRAMs with Applications to Linear Programming and Related Problems
We describe a deterministic parallel algorithm for linear programming in fixed dimension d that takes poly(log log n) time in the common concurrent read concurrent write (CRCW) PRAM model and does optimal O(n) work. In the exclusive read exclusive write (EREW) model, the algorithm runs in O(logn · log logd−1 n) time. Our algorithm is based on multidimensional search and effective use of approxi...
متن کاملOrthogonal Ham-Sandwich Theorem in R
The ham-sandwich theorem states that, given d ≥ 2 measures in R, it is possible to divide all of them in half with a single (d − 1)-dimensional hyperplane. We study an orthogonal version of the ham-sandwich theorem and define an orthogonal cut using at most d hyperplanes orthogonal to coordinate axes. For example, a hyperplane orthogonal to a coordinate axis and the boundary of an orthant are o...
متن کاملWeighted Ham-Sandwich Cuts
Let R and B be two sets of n points. A ham-sandwich cut is a line that simultaneously bisects R and B, and is known to always exist. This notion can be generalized to the case where each point p ∈ R ∪ B is associated with a weight wp. A ham-sandwich cut can still be proved to exist, even if weights are allowed to be negative. In this paper, we present a O(n logn) algorithm to find a weighted ha...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Discrete & Computational Geometry
دوره 11 شماره
صفحات -
تاریخ انتشار 1993